package com.ant.storage.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 * 
 * </p>
 *
 * @author hzd
 * @since 2025-10-31
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Organic对象", description="")
public class Organic implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "单位id")
    @TableField("company_id")
    private Integer companyId;

    @ApiModelProperty(value = "企业名称")
    @TableField("accessory_name")
    private String accessoryName;

    @ApiModelProperty(value = "所属领域")
    @TableField("accessory_area")
    private String accessoryArea;

    @ApiModelProperty(value = "联系人")
    private String manufacturer;

    @ApiModelProperty(value = "联系电话")
    @TableField("manufacturer_tel")
    private String manufacturerTel;

    @ApiModelProperty(value = "属于剂型")
    @TableField("accessory_category")
    private String accessoryCategory;

    @ApiModelProperty(value = "声明方式")
    @TableField("accessory_nature")
    private String accessoryNature;

    @ApiModelProperty(value = "声明方式的机构")
    @TableField("accessory_agency")
    private String accessoryAgency;

    @ApiModelProperty(value = "出厂状态下产品VOCs含量（g/L）")
    @TableField("accessory_kind")
    private String accessoryKind;

    @ApiModelProperty(value = "检测报告编号及机构 名称或报告查询地址")
    @TableField("accessory_type")
    private String accessoryType;

    @ApiModelProperty(value = "施工状态下产品VOCs含量质量比（%）")
    @TableField("accessory_type_one")
    private String accessoryTypeOne;

    @ApiModelProperty(value = "检测报告编号及机构 名称或报告查询地址")
    @TableField("accessory_type_two")
    private String accessoryTypeTwo;

    @ApiModelProperty(value = "产品年产能、销售量及销售收入等基本情况")
    @TableField("accessory_code")
    private String accessoryCode;

    @ApiModelProperty(value = "产品的技术特点、 应用比较优势")
    @TableField("process_steps")
    private String processSteps;

    @ApiModelProperty(value = "主要应用场景， 成功案例")
    private String density;

    @ApiModelProperty(value = "文件")
    @TableField("voc_url")
    private String vocUrl;

    @TableField("creation_time")
    private LocalDateTime creationTime;

    @TableField(exist = false)
    private List<OrganicProduct> productList;


}
